up: AutoCAD - Dialog Control Language (DCL)  
AutoCAD - Dialog Control Language (DCL)
(new_dialog dlgname dcl_id {action {screen-pt}})
What links here?
Begins a new dialog box and displays it, and can also specify a default action

(new_dialog dlgname dcl_id screen-pt)


Arguments
dlgname
A string that specifies the dialog box.
dcl_id
The DCL file identifier obtained by load_dialog .
action
A string that contains an AutoLISP expression to use as the default action. If you don't want to define a default action, specify an empty string (""). The action argument is required if you specify screen-pt.

The default action is evaluated when the user picks an active tile that doesn't have an action or callback explicitly assigned to it by action_tile or in DCL.


screen-pt
A 2D point list that specifies the X,Y location of the dialog box on the screen. The point specifies the upper-left corner of the dialog box. If you pass the point as'(-1 -1), the dialog box is opened in the default position (the center of the AutoCAD drawing area).

Return Values
T, if successful; otherwise nil.
AutoCAD - Dialog Control Language (DCL) - (new_dialog dlgname dcl_id {action {screen-pt}})
filename:AutoCAD - Dialog Control Language (DCL) - (new_dialog dlgname dcl_id {action {screen-pt}})
filename:AutoCAD%20%2D%20Dialog%20Control%20Language%20%28DCL%29%20%2D%20%28new_dialog%20dlgname%20dcl_id%20%7Baction%20%7Bscreen%2Dpt%7D%7D%29
last edit:July 29 2013 19:41:50 (3932 days ago)
ct = 1714948684.000000 = May 05 2024 18:38:04
ft = 1375141310.000000 = July 29 2013 19:41:50
dt = 339807374.000000